package com.ajx.blog.service;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.web.bind.annotation.CrossOrigin;

@SpringBootApplication
@MapperScan("com.ajx.blog.mapper")
@EnableDubbo
@EnableCaching
@CrossOrigin(allowCredentials = "true")
public class ArticleServiceStarter {

    public static void main(String[] args) {
        SpringApplication.run(ArticleServiceStarter.class, args);
    }

}
